package dblayer;

import java.sql.*;
import java.util.ArrayList;
import modellayer.Product;

/**
 * @author Gruppe 3
 */
public interface IFDBProduct {
	 
	public ArrayList<Product> getAllProducts(boolean retriveAssociation); 

	public Product selectSingleProduct(int productID, boolean retriveAssociation) throws SQLException;

	public int insertProduct(Product p) throws SQLException;

	public int updateProduct(Product p) throws SQLException; 

	public int deleteProduct(Product p) throws SQLException; 
    

}
